<template>
  <div>
    <router-link to="/">返回</router-link>
    <div>
      <p> {{ data }} </p>
      <custom-input v-model:data="data"/>
    </div>
  </div>
</template>

<script setup>
import {ref} from '@vue/composition-api'
import CustomInput from './useVModelChild.vue'

const data = ref('hello')
</script>
